package com.xl.studentpass.utils;

/**
 * @author: xl
 * @createTime: 2023/6/5 20:21:43
 * @program: student-pass
 * @e-mail: 2199396150@qq.com
 * @description:
 */
public enum TaskOrderStatus {
    /**
     * 1, 未接单
     */
    NO_ORDER_RECEIVED(1, "未接单"),
    /**
     * 2, 已接单
     */
    ORDER_RECEIVED(2, "已接单"),
    /**
     * 3, 已完成
     */
    ORDER_COMPLETION(3, "已完成"),
    /**
     * 4, 已退单
     */
    ORDER_CANCEL(4, "已退单"),
    /**
     * 5, 失败
     */
    ORDER_FAILURE(5, "失败"),

    /**
     * 6, 待确认
     */
    ORDER_CONFIRM(6, "待确认"),
    /**
     * 0, 喜欢
     */
    LIKE(0, "like"),
    /**
     * 1, 收藏
     */
    FAVORITE(1, "favorite");

    private final Integer id;
    private final String statusName;

    public Integer getId() {
        return id;
    }


    public String getStatusName() {
        return statusName;
    }

    TaskOrderStatus(Integer id, String statusName) {
        this.id = id;
        this.statusName = statusName;
    }
}
